package com.example.shopspring.Mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.shopspring.Model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from users where username = #{username}")
    User selectByusername(String username);
}
